#ifndef __ALL_INIT_H
#define __ALL_INIT_H

#include "can_bsp.h"
#include "bsp_dwt.h"
#include "usart.h"
#include "RUI_DBUS.h"
#include "Read_Data.h"
#include "RUI_ROOT_INIT.h"
#include "MY_Define.h"
#include "bsp_dwt.h"
#include "fdcan.h"
#include "DJI_Motor.h"
#include "Chassis_Task.h"
#include "Motors.h"
#include "cmsis_os.h"

void Everying_Init(void);
void Motor_Init(void);

extern uint8_t DBUS_RX_DATA[19];
extern DBUS_Typedef WHW_V_DBUS;
extern CONTAL_Typedef RUI_V_CONTAL;

extern ALL_RX_Data_T ALL_RX;
extern User_Data_T User_data;

extern uint8_t RX[20];

extern RUI_ROOT_STATUS_Typedef RUI_ROOT_STATUS;

extern MOTOR_Typdef Motors;

extern DJI_MOTOR_Typedef DJI_MOTOR_Pitch;
extern DJI_MOTOR_Typedef DJI_MOTOR_Roll;

#endif
